<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旅游订单详情</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            line-height: 1.6;
            background-color: #f7f9fc;
            padding: 20px;
        }

        .order-container {
            max-width: 1000px;
            margin: 0 auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .order-header {
            background: linear-gradient(135deg, #4a90e2, #63b8ff);
            color: white;
            padding: 30px;
            position: relative;
        }

        .order-status {
            position: absolute;
            right: 30px;
            top: 30px;
            background: rgba(255,255,255,0.2);
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: bold;
        }

        .product-info {
            display: flex;
            gap: 30px;
            padding: 25px;
            border-bottom: 1px solid #eee;
        }

        .product-image {
            width: 300px;
            height: 200px;
            border-radius: 8px;
            object-fit: cover;
        }

        .product-detail {
            flex: 1;
        }

        .info-section {
            padding: 25px;
            border-bottom: 1px solid #eee;
        }

        .info-title {
            color: #333;
            font-size: 20px;
            margin-bottom: 15px;
            padding-left: 10px;
            border-left: 4px solid #4a90e2;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .info-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
        }

        .info-label {
            color: #666;
            font-size: 14px;
            margin-bottom: 8px;
        }

        .info-content {
            color: #333;
            font-weight: 500;
        }

        .participant-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }

        .participant-table th,
        .participant-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }

        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline-item {
            padding-left: 30px;
            margin-bottom: 30px;
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 5px;
            width: 16px;
            height: 16px;
            background: #4a90e2;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 0 0 2px #4a90e2;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            left: 7px;
            top: 25px;
            bottom: -35px;
            width: 2px;
            background: #ddd;
        }

        .timeline-item:last-child::after {
            display: none;
        }

        .action-buttons {
            padding: 25px;
            text-align: right;
        }

        .btn {
            padding: 10px 25px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            margin-left: 10px;
            transition: 0.3s;
        }

        .btn-primary {
            background: #4a90e2;
            color: white;
        }

        .btn-secondary {
            background: #f8f9fa;
            color: #666;
            border: 1px solid #ddd;
        }
    </style>
</head>
<body>
<div class="order-container">
    <!-- 订单头部 -->
    <div class="order-header">
        <h1>云南大理丽江6日深度游</h1>
        <div class="order-status">已支付 · 等待出行</div>
        <div style="margin-top: 20px;">
            <span>订单号：TO202311280001</span>
            <span style="margin-left: 30px;">预订时间：2023-11-28 14:30:22</span>
        </div>
    </div>

    <!-- 产品信息 -->
    <div class="product-info">
        <img src="https://picsum.photos/300/200?nature" class="product-image" alt="旅游产品封面">
        <div class="product-detail">
            <h2 style="margin-bottom: 15px;">行程概要</h2>
            <div class="info-grid">
                <div class="info-item">
                    <div class="info-label">出发日期</div>
                    <div class="info-content">2023-12-15</div>
                </div>
                <div class="info-item">
                    <div class="info-label">行程天数</div>
                    <div class="info-content">6天5晚</div>
                </div>
                <div class="info-item">
                    <div class="info-label">参与人数</div>
                    <div class="info-content">2大1小</div>
                </div>
                <div class="info-item">
                    <div class="info-label">总金额</div>
                    <div class="info-content" style="color: #e63946;">¥8,888.00</div>
                </div>
            </div>
        </div>
    </div>

    <!-- 行程安排 -->
    <div class="info-section">
        <h2 class="info-title">行程安排</h2>
        <div class="timeline">
            <div class="timeline-item">
                <h3>第一天：大理接机</h3>
                <p>15:00 大理机场接机 → 入住洱海景观酒店 → 自由活动</p>
            </div>
            <div class="timeline-item">
                <h3>第二天：环洱海骑行</h3>
                <p>09:00 自行车环湖 → 喜洲古镇 → 双廊古镇 → 洱海日落</p>
            </div>
            <!-- 更多行程项... -->
        </div>
    </div>

    <!-- 参与者信息 -->
    <div class="info-section">
        <h2 class="info-title">参与者信息</h2>
        <table class="participant-table">
            <tr>
                <th>姓名</th>
                <th>类型</th>
                <th>身份证号</th>
                <th>联系电话</th>
            </tr>
            <tr>
                <td>张**</td>
                <td>成人</td>
                <td>420***********001X</td>
                <td>138****8888</td>
            </tr>
            <!-- 更多参与者... -->
        </table>
    </div>

    <!-- 支付信息 -->
    <div class="info-section">
        <h2 class="info-title">支付信息</h2>
        <div class="info-grid">
            <div class="info-item">
                <div class="info-label">支付方式</div>
                <div class="info-content">支付宝</div>
            </div>
            <div class="info-item">
                <div class="info-label">支付时间</div>
                <div class="info-content">2023-11-28 14:35:10</div>
            </div>
            <div class="info-item">
                <div class="info-label">订单备注</div>
                <div class="info-content">需要安排婴儿床</div>
            </div>
        </div>
    </div>

    <!-- 操作按钮 -->
    <div class="action-buttons">
        <button class="btn btn-secondary">联系客服</button>
        <button class="btn btn-secondary">取消订单</button>
        <button class="btn btn-primary">返回列表</button>
    </div>
</div>
</body>
</html>